package com.zhou.test;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class AServlet
 */
@WebServlet("/AServlet")
public class AServlet extends BaseServlet {
	private static final long serialVersionUID = 1L;
    
    public AServlet() {
        super(); 
    }

	protected void addUser(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		System.out.println("addUser");
		resp.getWriter().print("addUser");
	}
	protected void editUser(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		System.out.println("editUser");
		resp.getWriter().print("editUser");
	}
	protected void deleteUser(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		System.out.println("deleteUser");
		resp.getWriter().print("deleteUser");
	}
}
